package ru.client;

import ru.shared.UserStruct;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {
	void greetServer(String input, AsyncCallback<String> callback)
			throws IllegalArgumentException;

	void greetServer2(String name, AsyncCallback<String> callback)
			throws IllegalArgumentException;

	void greetServer3(UserStruct name, AsyncCallback<String> asyncCallback)
			throws IllegalArgumentException;

}
